﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="list_forms.aspx.cs" Inherits="manage_form_list_forms" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v10.1, Version=10.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
   <title>List profiles</title>
   <link rel="stylesheet" href="../styles/jquery.autocomplete.css" type="text/css" />
   <link href="../styles/style.css" rel="stylesheet" type="text/css" />   
      
   <link type="text/css" href="../css/smoothness/jquery-ui-1.8.11.custom.css" rel="stylesheet" /> 
   <script src="../js/jquery-1.5.min.js" type="text/javascript"></script>
   <script src="../js/jquery-ui-1.8.9.custom.min.js" type="text/javascript"></script>
   <script src="../js/jquery.autocomplete.js" type="text/javascript"></script>
 
   
</head>
<body>
    <form id="form1" runat="server">

    <div class="wrapper">
       <div id="header">
		<h1 class="logo">
        <a href="../index.aspx">
        	<img src="../images/logo.png" width="280" height="46" border="0" /></a>
        
        </h1>
         <div class="login_zone" >
        Username:<asp:Literal ID="lUsername" Text="" runat="server" />
        <br />
         <asp:LinkButton ID="lnkLogout" runat="server" Text="Logout" 
                 onclick="lnkLogout_Click" /> | <a href="login/change_pass.aspx">Change password</a>
        </div>
        </div>
     <div class="clear"></div>
     <div id="nav">
      <div style="margin-bottom:20px;width:240px;float:left;">
              <ul class="breadcrumb">
        <li>
            <a href="../index.aspx" title="Home">
         
                 <img src="../images/home.png" width="24" height="23" border="0" align="left" style="margin-top:2px;" class="home" />
      
            </a>
              
            </li>
            <li>
            <a href="../index.aspx"   title="homepage">
                Homepage
                </a>
            </li>
        <li>
            
                List forms
            
       </li>
      
     </ul>
     </div>
        </div>
        <div class="main_content2">
          
              <div style="margin-top:-8px;">
               <img src="../images/list_profiles.png" width="900" height="77" />
             </div>
             <div>
             <br /><br />
                <table style="margin-left:10px;">
                    <tr>
                        <td>
                            Group user:</td>
                        <td>
                            <asp:DropDownList ID="cbGroupUsers" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    </table>           
             </div>
            
              <div style="clear:both;width:900px;height:auto;margin-left:8px;margin-top:16px;">
               
<dx:ASPxGridView ID="gdListForms" runat="server" 
                        AutoGenerateColumns="False" 
                        onhtmlrowcreated="gdListForms_HtmlRowCreated" 
                      KeyFieldName="profile_id" Width="700px">
                        <Columns>
                            <dx:GridViewDataTextColumn Caption="id" VisibleIndex="0" FieldName="profile_id">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Form name" FieldName="mail" VisibleIndex="4" 
                                Width="160">
                                <CellStyle HorizontalAlign="Left">
                                </CellStyle>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewCommandColumn Caption="Allow" ShowSelectCheckbox="True" 
                                VisibleIndex="5">
                                <HeaderTemplate>
                                     <dx:ASPxCheckBox ID="SelectAll" runat="server" ToolTip="Select/Unselect all" 
                                     ClientSideEvents-CheckedChanged="function(s, e) { gdListProfilesRejected.SelectAllRowsOnPage(s.GetChecked()); }" />  
                                </HeaderTemplate>
                                <HeaderStyle HorizontalAlign="Center" />
                            </dx:GridViewCommandColumn>
                        </Columns>
                    </dx:ASPxGridView>
               
                </div>
                
                
           </div>
        
       

        <div id="footer" style="float:right;">
        	<p>
            	IT Dev 2011<br />
                Version beta
                
                
            </p>
        
        </div>
        
	</div>    
    </form>
</body>

</html>